package org.fing.edu.uy.admin.mbeanServices;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;


public class InitializeMBeanServices implements ServletContextListener {

	@Override
	public void contextInitialized(ServletContextEvent sce) {
		RegisterMBean.getInstance().registerIMotorMonitorServicesMBean();		
	}

	@Override
	public void contextDestroyed(ServletContextEvent sce) {
		RegisterMBean.getInstance().unRegisterIMotorMonitorServicesMBean();
	}
	
}
